<?php
/**
 * xushuhui
 * 2017/8/9
 * 16:20
 */

namespace app\lib\validate;

/**
 * 计划验证类
 * Class PlanParameter
 * @package app\lib\validate
 * @author xushuhui
 * @version 1.0
 */
class PlanParameter extends BaseValidate
{
	protected $rule =[
		['card_id','require|number|isPositiveInteger','card_id必须输入|card_id必须是数字|card_id必须是正整数'],
		['money','require|number|isPositiveInteger','金额必须输入|金额必须是数字|金额必须是正整数'],
		['repayDate','require','还款日期必须输入|日期不符合规则'],
		['count' , 'require|number|isPositiveInteger','还款笔数必须输入|还款笔数必须是数字|还款笔数必须是正整数'],
	];

}